from utils.bp import create_blueprint
from flask_restx import Api
from server.apis.test.web import ns as test_ns
from server.apis.task.web import ns as task_ns


api_v1 = create_blueprint('api1', __name__, url_prefix='/api')


api = Api(
    api_v1, 
    version='1.0', 
    title='test flask',
    description='test flask'
)

api.add_namespace(test_ns)
api.add_namespace(task_ns)
